package br.com.sendleemail.action;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;

@SuppressWarnings("serial")
@Action(value = "/sendle", results = {
		@Result(name = "success", location = "/index.html"),
		@Result(name = "error", location = "/index.html") })
public class SendleAction extends GenericSuport {

	public String home() {
		try {
			return SUCCESS;
		} catch (Exception ex) {
			ex.printStackTrace();
			return ERROR;
		}
	}
}
